package com.bs.blogspace.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.Getter;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

@Data
@Getter
@AllArgsConstructor
@NoArgsConstructor
public class User implements Serializable {
    private long id;//主键ID
   // private String username;//用户名
    private String userName;//用户名

    private String password;//用户密码
    private String phone;//用户手机号
    private String sex;//用户性别
    private String avatar;//用户头像
    private LocalDateTime createTime;//用户创建时间
    private LocalDateTime updateTime;//用户更新时间
    private Integer userId;//用户ID
    private String sign;//个性签名
//
//    public String getUsername() {
//        return username;
//    }
//
//    public void setUsername(String username) {
//        this.username = username;
//    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }
}
